home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / diag / vdosped.zip / VS.DOC next >
Text File  |  1991-03-06  |  5KB  |  114 lines

  1.           Documentation for VgaSpeed VGA Graphics Benchmark Program
  2.  
  3. By:       J. Rockford Cogar
  4.           119 Oklahoma Avenue
  5.           Oak Ridge, TN 37830
  6.  
  7. Use:      VgaSpeed is FreeWare. This program may be used any way you wish,
  8.           as long as you do not charge any money for the program itself.
  9.  
  10. I. Introduction.
  11.  
  12.  The program VgaSpeed is a VGA Graphics Benchmark Program. What VgaSpeed
  13.  measures is how fast a given computer system can generate VGA graphics. There
  14.  are several important hardware characteristics that determine how fast a
  15.  computer can do graphics operations:
  16.  
  17.  1. CPU Speed
  18.  2. Expansion Bus Speed
  19.  3. Number of Video Wait States
  20.  4. Speed of Internal VGA Card Operations
  21.  
  22.  An example of a fast graphics machine would include the following: a 33 mhz
  23.  80486 CPU, a 10 mhz bus speed, very few video wait states and a 'fast' VGA
  24.  card.
  25.  
  26.  Because graphics operations on VGA cards are mostly 8 bit I/O operations, 16
  27.  bit bus connectors on VGA cards do not appear to greatly improve the speed of
  28.  graphics.
  29.  
  30.  The results of VgaSpeed are given as relative to the graphics performance of
  31.  an IBM PS/2 Model 60 VGA system as a VS (VgaSpeed) number.
  32.  
  33.  A VS of 2.00, would show that the current system has the ability to do VGA
  34.  graphics twice as fast as an IBM PS/2 Model 60 VGA. The fastest 80486 system
  35.  that has been measured gave a VS of about 2.70. Typical 80386SX VGA systems
  36.  yield VS numbers of about 1.40. It is around VS numbers equal to 1.40 that
  37.  Microsoft Windows 3.0 starts to look fairly good.
  38.  
  39.  
  40. II. The Tests.
  41.  
  42.  VgaSpeed is made up of four different graphics tests: Write Mode Zero Dot
  43.  Test, Write Mode Two Dot Test, Bit Map Move Test and Bit Map Text Test.
  44.  
  45.  The graphics code in VgaSpeed was written in assembly language from
  46.  documentation in the IBM EGA and VGA Technical Reference Guides. Every effort
  47.  was made to make the code as fast as possible. After all, the goal is too
  48.  find out how fast a given system can do VGA graphics, not how fast the the
  49.  system can run a bunch of code through the CPU.
  50.  
  51.  VgaSpeed was written using Borland Turbo Assembler 2.0 and Borland Turbo
  52.  'C++' 1.0.
  53.  
  54.  By default, all tests are executed while the BIOS video mode was '16'. This
  55.  is the same as EGA 640 pixels horizontal by 350 pixels vertical 16 color
  56.  mode. This allows VgaSpeed to be run on EGA video systems.
  57.  
  58.  When VgaSpeed is run in VGA 640 x 480, 16 color mode (by using the 'v'
  59.  command line switch) the VS number will be almost exactly the same as a test
  60.  of EGA  640 x  360, 16  color mode.  The graphics  testing takes  about 40
  61.  seconds on a fast 80486 system to 140 seconds on an 8mhz AT system.
  62.  
  63.  1. Write Mode Zero Dot Test.
  64.  
  65.     This test draws 817,452 dots (pixels) on the graphics screen using
  66.     hardware write mode zero. Hardware write mode zero is the write mode used
  67.     by most graphics programs. It appears that Microsoft Windows 3.0 uses
  68.     write mode for all in all EGA and VGA type driver programs.
  69.  
  70.  2. Write Mode Two Dot Test.
  71.  
  72.     This test draws 1,634,904 dots (pixels) on the graphics screen using
  73.     hardware write mode two. In general, the process of writing a pixel to the
  74.     graphics screen in write mode two is twice as fast as one written using
  75.     write mode zero. Hardware write mode two is the mode used by most very
  76.     high performance graphics programs. For example, all of the EGA/VGA
  77.     graphics based data acquistion software from Tennelec/Nucleus Inc. (Oak
  78.     Ridge TN), use hardware write mode two. Some of the faster commercial CAD
  79.     packages also appear to use hardware write mode two.
  80.  
  81.  3. Bit Map Move Test.
  82.  
  83.     This test does 504 bitmap block moves. The size of the bitmap is 30,102
  84.     pixels (a 173 by 174 rectangle). The pattern leftover from the write mode
  85.     two dot test is copied from video RAM to system RAM, then from system RAM
  86.     to a different location in video RAM. This process is repeated 252 times.
  87.     The hardware write mode here is 'zero'. It is likely that most all
  88.     programs that use bit map moves to/from video RAM to/from system RAM use
  89.     hardware write mode zero to do so.
  90.  
  91.     Because this operation involves memory block moves (using the: REP MOVSW
  92.     operation), the number of memory wait states of the source and target
  93.     memory can be a major factor in the speed of this test. In addition,
  94.     computers with expansion bus speeds greater than the standard 8 mhz, do
  95.     well on this test.
  96.  
  97.  4. Bit Map Text Test.
  98.  
  99.     This test shows how fast text can be displayed on a graphics mode screen.
  100.     The Bit Map Text Test writes a 39 character string in an 8 pixel tall font
  101.     to the graphics screen 2048 times. In addition, a 40 character string is
  102.     written to the screen in an 14 pixel tall font 2048 times. Both fonts are
  103.     8 pixels wide. All this means that 14,286,848 pixels get written on the
  104.     screen in this test! The hardware write mode used in this here is 'two'.
  105.  
  106.  
  107. II. System Requirements.
  108.  
  109.  1. A color VGA or EGA video system with at least 128KB of video RAM.
  110.  2. DOS version 2.0 or greater.
  111.  3. 64KB of free RAM.
  112.  
  113.  
  114.